﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ThayDoiMatKhau.aspx.cs" Inherits="WebHousingInfo.ThayDoiMatKhau" %>
<%@ Register Src="~/Controls/Header.ascx" TagName="HD" TagPrefix="Header" %>
<%@ Register Src="~/Controls/ManagerUser_left.ascx" TagName="UserLeft" TagPrefix="Left" %>
<%@ Register Src="~/Controls/ManagerUser_Right.ascx" TagName="UserRight" TagPrefix="Right" %>
<%@ Register Src="~/Controls/MenuFooter.ascx" TagName="MenuDuoi" TagPrefix="MenuFooter" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Thay đổi mật khẩu </title>
</head>
<body>
    <form id="form1" runat="server">
    <div id="uni_wrapper">
	    <div id="uni_main">
	        <Header:HD ID="Header" runat="server" />
		    <div id="content" class="clearfix">
			    <div id="group_6">
				    <Left:UserLeft ID="UserLeft" runat="server" />
				    <div style="margin-bottom:5px; float:right; width:542px;">
				        <a href="Home.aspx">Trang chủ</a> >> <a href="#">Quản lý cá nhân</a> >> <a href="ThayDoiMatKhau.aspx">Thay đổi mật khẩu</a>
				    </div>
			        <div class="title_tab_center">
					    <ul>
						    <li class="selected"><a href="DangTin.aspx">Đăng tin Nhà đất</a></li>
						    <li><a href="DangTinDoanhNghiep.aspx">Đăng Tin Doanh nghiệp</a></li>
					    </ul>
				    </div>	
				    <div id="group_542">
				        <Table cellspacing="1" cellpadding="4" border="0" align="center" width="100%" class="tborder">
				    	   <tbody>
				    	     <tr> 
				    	        <td class="tcat">Thay đổi mật khẩu của thành viên 
				    	            <asp:Label ID="lbluser" runat="server" Text="" Font-Bold="True" ForeColor="Blue"></asp:Label>
				    	        </td>
				    	     </tr>
				    	     <tr>
				    	          <td align="center" class="panelsurround"> 
				    	                <div class="panel">
				    	                    <div align="left" style="width: 480px;">
			    	                             <table width="100%" style="padding:10px;">
                                                    <tr class="userchangeinfo">
                                                        <td>
                                                            <asp:Label ID="Label2" runat="server" Text="Mật khẩu cũ"></asp:Label>
                                                        </td>
                                                        <td class="style6">
                                                            <asp:TextBox ID="txtoldpass" runat="server" Width="260px" Height="18px" 
                                                                TextMode="Password" MaxLength="64"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                                ControlToValidate="txtoldpass" ErrorMessage="Chưa nhập mật khẩu cũ">(*)</asp:RequiredFieldValidator>
                                                            <br />
                                                        </td>
                                                    </tr>
                                                    <tr class="userchangeinfo">
                                                        <td class="style4">
                                                            <asp:Label ID="Label3" runat="server" Text="Mật khẩu mới"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtnewpass" runat="server" Height="18px" Width="260px" TextMode="Password" 
                                                                MaxLength="64"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                                ControlToValidate="txtnewpass" ErrorMessage="Chưa nhập mật khẩu mới">(*)</asp:RequiredFieldValidator>
                                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                                ControlToValidate="txtnewpass" ErrorMessage="Password từ 8 đến 64 ký tự " 
                                                                ValidationExpression="^([\S\s]{8,64})$">(*)</asp:RegularExpressionValidator>
                                                            <br />
                                                        </td>
                                                    </tr>
                                                    <tr class="userchangeinfo">
                                                        <td class="style5">
                                                            <asp:Label ID="Label4" runat="server" Text="Xác nhận mật khẩu mới"></asp:Label>
                                                        </td>
                                                        <td class="style6">
                                                            <asp:TextBox ID="txtrenewpass" runat="server" Width="260px" Height="18px" TextMode="Password" 
                                                                MaxLength="64"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                                                ControlToValidate="txtrenewpass" ErrorMessage="Chưa nhắc lại mật khẩu mới">(*)</asp:RequiredFieldValidator>
                                                            <asp:CompareValidator ID="CompareValidator2" runat="server" 
                                                                ControlToCompare="txtrenewpass" ControlToValidate="txtnewpass" 
                                                                ErrorMessage="Mật khẩu mới không giống nhau">(*)</asp:CompareValidator>
                                                            <br />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="style4">
                                                            &nbsp;</td>
                                                        <td>
                                                            <asp:ValidationSummary ID="ValidationSummary2" runat="server" />
                                                        </td>
                                                    </tr>
                                                </table>
				    	                   </div> 
				    	                </div>
				    	             <div style="margin-top: 4px;">
				    	                <asp:Button ID="btnluu" runat="server" Text="Xác nhận" onclick="btnluu_Click" />
                                        <asp:Button ID="btnhuy" runat="server" Text="Hủy bỏ" CausesValidation="False" 
                                             onclick="btnhuy_Click" />
				    	             </div>
				    	         </td>
				    	     </tr> 
				    	   </tbody>                                                               
				    	</table>
						    
				    </div>
			    </div>
			    <Right:UserRight ID="UserRight" runat="server" />	
		    </div>
	    </div>	
	    <MenuFooter:MenuDuoi ID="MenuFooter" runat="server" />
    </div>
    </form>
</body>
</html>
